<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<h2>帐户信息</h2>
<table>
    <tr>
        <td>名:</td>
        <td>
            <input type="text" name="account.firstName" value="${sessionScope.account.firstName}"/><br/>
            <span class="error-msg">${requestScope.msg_firstname}</span>
        </td>
    </tr>
    <tr>
        <td>姓:</td>
        <td>
            <input type="text" name="account.lastName" value="${sessionScope.account.lastName}"/><br/>
            <span class="error-msg">${requestScope.msg_lastname}</span>
        </td>
    </tr>
    <tr>
        <td>邮箱:</td>
        <td>
            <input type="text" size="40" name="account.email" value="${sessionScope.account.email}"/><br/>
            <span class="error-msg">${requestScope.msg_email}</span>
        </td>
    </tr>
    <tr>
        <td>电话:</td>
        <td>
            <input type="text" size="40" name="account.phone" value="${sessionScope.account.phone}"/><br/>
            <span class="error-msg">${requestScope.msg_phone}</span>
        </td>
    </tr>
    <tr>
        <td>地址 1:</td>
        <td>
            <input type="text" size="40" name="account.address1" value="${sessionScope.account.address1}"/><br/>
            <span class="error-msg">${requestScope.msg_address1}</span>
        </td>
    </tr>
    <tr>
        <td>地址 2:</td>
        <td>
            <input type="text" size="40" name="account.address2" value="${sessionScope.account.address2}"/><br/>
            <span class="error-msg">${requestScope.msg_address2}</span>
        </td>
    </tr>
    <tr>
        <td>城市: </td>
        <td>
            <input type="text" size="40" name="account.city" value="${sessionScope.account.city}"/><br/>
            <span class="error-msg">${requestScope.msg_city}</span>
        </td>
    </tr>
    <tr>
        <td>州:</td>
        <td>
            <input type="text" size="40" name="account.state" value="${sessionScope.account.state}"/><br/>
            <span class="error-msg">${requestScope.msg_state}</span>
        </td>
    </tr>
    <tr>
        <td>邮编:</td>
        <td>
            <input type="text" size="40" name="account.zip" value="${sessionScope.account.zip}"/><br/>
            <span class="error-msg">${requestScope.msg_zip}</span>
        </td>
    </tr>
    <tr>
        <td>国家: </td>
        <td>
            <input type="text" size="40" name="account.country" value="${sessionScope.account.country}"/><br/>
            <span class="error-msg">${requestScope.msg_country}</span>
        </td>
    </tr>
</table>


<h2>个人资料信息</h2>
<table>
    <tr>
        <td>语言偏好:</td>
        <td>
            <select name="account.languagePreference">
                <option value="Chinese">中文</option>
                <option value="English" selected>英语</option>
            </select>
        </td>
    </tr>
    <tr>
        <td>喜欢的类别:</td>
        <td>
            <select name="account.favouriteCategoryId">
                <option value="CHEESS">乳酪</option>
                <option value="CHOCOLATE">巧克力</option>
                <option value="FRUIT">水果</option>
                <option value="MUSI">慕斯</option>
                <option value="NUT">坚果</option>
            </select>
        </td>
    </tr>
    <tr>
        <td colspan=2><input type="checkbox" name="account.listOption"> 是否显示喜好</td>
    </tr>
    <tr>
        <td colspan=2><input type="checkbox" name="account.bannerOption"> 是否显示推荐</td>
    </tr>
</table>
